<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>axios的别名用法</title>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <script>
        axios.get('http://localhost:8099/users/1').then((result)=>{
            console.log(result.data);
        }).catch((err=>{
            console.log(err);
        }))
    </script>
</head>
<body>

</body>
</html>